package com.wx.frame.test;

/**
 * Created by mayude on 2016/12/23.
 */
public class test {
    public static void main(String[] args)
    {
        int a=1;
        int b=10;
        do {
            b-=a;
            a++;
        }while (b--<0);

        System.out.print(b);
    }
}
